 
{% extends 'base.html' %}

{% block content %}
<div class="search-container">
    <h1>HySearch</h1>
    <form action="/search" method="get">
        <div class="input-group mb-3">
            <input class="form-control" type="text" name="q" placeholder="输入搜索关键词..." value="{{ query }}">
            <button class="btn btn-primary" type="submit">搜索</button>
        </div>
    </form>
</div>
{% endblock %}
 